<!doctype html>
<html>
<head>
<meta charset="UTF-8" />
<title>个人中心</title>  
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width,initial-scale=1.0,maximum-scale=1.0,user-scalable=0" />
<meta name="apple-mobile-web-app-capable" content="yes">
<meta name="apple-mobile-web-app-status-bar-style" content="black">
<meta name="format-detection" content="telephone=no">
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Wx/css/base.css" />
<link rel="stylesheet" type="text/css" href="__PUBLIC__/Wx/css/index.css" />
</head>
<body>
<div class="user">
	<div class="userintro">
    	<div class="username">
        	<div class="name">
            	<div class="pic" onClick="window.location='__MODULE__/Farmer/'"><img src="{$member.avatar}"/></div>
                <h2>{$member.nickname}</h2>
                <p>莲花村</p>
            </div>
            <div class="change"><a href="__MODULE__/User/">返回会员中心</a></div>
        </div>
    </div>
    <div class="orderlink spc">
    	<h2>产品管理<span onClick="window.location='__MODULE__/FarmerSpellgroup/'">全部产品</span></h2>
        <div class="inner">
        	<a href="__MODULE__/FarmerSpellgroup/add/">
            	<div class="pic"><img src="__PUBLIC__/Wx/img/icon-nh01.png"/></div>
                <div class="topic">发布产品</div>
            </a>
        	<a href="__MODULE__/FarmerSpellgroup/index/state/0">
            	<div class="pic"><img src="__PUBLIC__/Wx/img/icon-nh02.png"/>
                    <if condition="$pro0 neq 0">
                        <span>{$pro0}</span>
                    </if>
                </div>
                <div class="topic">审核状态</div>
            </a>
        	<a href="__MODULE__/FarmerSpellgroup/index/state/1">
            	<div class="pic"><img src="__PUBLIC__/Wx/img/icon-nh03.png"/>
                    <if condition="$pro1 neq 0">
                        <span>{$pro1}</span>
                    </if>
                </div>
                <div class="topic">拼团中</div>
            </a>
        	<a href="__MODULE__/FarmerSpellgroup/index/state/4">
            	<div class="pic"><img src="__PUBLIC__/Wx/img/icon-nh04.png"/>
                    <if condition="$pro4 neq 0">
                        <span>{$pro4}</span>
                    </if>
                </div>
                <div class="topic">已结束</div>
            </a>
        </div>
    </div>
    <div class="orderlink">
    	<h2>订单管理<span onClick="window.location='__MODULE__/FarmerOrder/'">全部订单</span></h2>
        <div class="inner">
        	<a href="__MODULE__/FarmerOrder/index/state/0">
            	<div class="pic"><img src="__PUBLIC__/Wx/img/icon-pay02.png"/>
                    <if condition="$pf_state0 neq 0">
                        <span>{$pf_state0}</span>
                    </if>
                </div>
                <div class="topic">待付款</div>
            </a>
        	<a href="__MODULE__/FarmerOrder/index/state/1">
            	<div class="pic"><img src="__PUBLIC__/Wx/img/icon-nh05.png"/>
                    <if condition="($state1 neq 0) OR ($pf_state1 neq 0)">
                        <span><?=$state1+$pf_state1?></span>
                    </if>
                </div>
                <div class="topic">待发货</div>
            </a>
        	<a href="__MODULE__/FarmerOrder/index/state/2">
            	<div class="pic"><img src="__PUBLIC__/Wx/img/icon-nh07.png" style="width:37px;"/>
                    <if condition="($state2 neq 0) OR ($pf_state2 neq 0)">
                        <span><?=$state2+$pf_state2?></span>
                    </if>
                </div>
                <div class="topic">已发货</div>
            </a>
        	<a href="__MODULE__/FarmerOrder/index/state/3">
            	<div class="pic"><img src="__PUBLIC__/Wx/img/icon29.png"/>
                    <if condition="($state3 neq 0) OR ($pf_state3 neq 0)">
                        <span><?=$state3+$pf_state3?></span>
                    </if>
                </div>
                <div class="topic">已收货</div>
            </a>
        	<a href="__MODULE__/AfterSale/">
            	<div class="pic"><img src="__PUBLIC__/Wx/img/icon-nh06.png"/></div>
                <div class="topic">售后管理</div>
            </a>
        </div>
    </div>
    <div class="orderlink spc">
    	<h2>我的管理</h2>
        <div class="inner">
        	<a href="__MODULE__/User/credit3/">
            	<div class="pic"><img src="__PUBLIC__/Wx/img/icon-nh08.png"/></div>
                <div class="topic">余额</div>
            </a>
        	<a href="__MODULE__/MyMsg/index">
            	<div class="pic"><img src="__PUBLIC__/Wx/img/icon13.png"/><?=$total_num!=0?'<span>'.$total_num.'</span>':''?></div>
                <div class="topic">消息</div>
            </a>
        	<a href="__MODULE__/Authentication/">
            	<div class="pic"><img src="__PUBLIC__/Wx/img/icon15.png"/></div>
                <div class="topic">个人设置</div>
            </a>
        </div>
    </div>
</div>
</body>
</html>